#include<stdio.h>
int main()
{
 int dig,rev=0,i;
 printf("Enter your number");
 scanf("%d",&dig);
 i=dig;
 while(i!=0)
 {
  i=i%10;
  rev=(rev*10)+i;
  i=i/10;
  }
 printf("The digits in the reverse order=%d",rev);
  return 0;
  }
